package com.fowo.api.model.supplier.flow.form.relation.log;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 供应商流程表单实例日志 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class SupplierFlowFormRelationLogImportPo {

  /** 所属供应商流程表单实例 */
  @ExcelProperty("所属供应商流程表单实例")
  @LongString(
    message = "所属供应商流程表单实例数值格式不正确",
    label = "所属供应商流程表单实例",
    min = 0L
  )
  private String parentSupplierFlowFormRelationFormId;

  @ExcelIgnore
  @Schema(title = "所属供应商流程表单实例")
  private String parentSupplierFlowFormRelation;

  /** 任务编码 */
  @ExcelProperty("任务编码")
  private String enCode;

  /** 流程节点 */
  @ExcelProperty("流程节点")
  @Size(max = 128, message = "流程节点长度不能超过128")
  private String flowNodeIdEnCode;

  @ExcelIgnore
  @Schema(title = "流程节点")
  private String flowNodeId;

  /** 表单id */
  @ExcelProperty("表单id")
  @LongString(message = "表单id数值格式不正确", label = "表单id")
  private String formId;

  /** 表单状态 */
  @ExcelProperty("表单状态")
  private String formStatus;

  /** 执行人 */
  @ExcelProperty("执行人")
  @Size(max = 50, message = "执行人长度不能超过50")
  private String doUserName;

  @ExcelIgnore
  @Schema(title = "执行人")
  private String doUser;
}
